package com.seecen.HJM.service;

import com.seecen.HJM.model.dto.PlayListBindingDTO;
import com.seecen.HJM.model.dto.PlaylistGetSongDto;
import com.seecen.HJM.model.entity.PlaylistBinding;
import com.baomidou.mybatisplus.extension.service.IService;
import com.seecen.HJM.model.entity.Song;
import com.seecen.HJM.result.DataVo;
import com.seecen.HJM.result.PageResult;
import jakarta.validation.Valid;

import java.util.List;

/**
* @author jiachen
* @description 针对表【tb_playlist_binding】的数据库操作Service
* @createDate 2025-09-28 17:40:33
 *
*/
public interface PlaylistBindingService extends IService<PlaylistBinding> {
    DataVo addSongsToPlaylist(PlayListBindingDTO dto);
    DataVo removeSongsFromPlaylist(PlayListBindingDTO dto);

    DataVo<PageResult<Song>> getSongsByPlaylistId(@Valid PlaylistGetSongDto playlistGetSongDto);
}
